package com.chuang.server.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chuang.server.pojo.ResultBean;
import com.chuang.server.pojo.TreeCategory;

import java.util.Map;

/**
 * <p>
 * 树形分类表
 服务类
 * </p>
 *
 * @author vicente
 * @since 2021-12-18
 */
public interface TreeCategoryService extends IService<TreeCategory> {
     ResultBean selectAll();
     ResultBean byUserList(Long id);

     ResultBean addCategory(JSONObject jsonObject);

     ResultBean delCategory(JSONObject jsonObject);

     ResultBean updateCategory(JSONObject jsonObject);
}
